@echo off


goto :selectOpt



:selectOpt
echo 1- Iniciar servicios por defecto
echo 2- Iniciar servicios modificados
echo 3- Salir del menu
set option=
set /P option=Type the option number: %=%
goto option%option%


:option1
set mod=StandaloneWS
goto :run

:option2
set mod=StandaloneWSMod
goto :run

:run
cd C:\eclipse\workspace\%mod%\target
cls
java -jar %mod%.jar
set OUT=%errorlevel%
goto option%OUT%


:option3
exit